import '../asset/style/style.scss';
import Header from './header';
import Module from './module';
import * as Util from './util';

class Page {
  [key: string]: any;
  constructor() {
    this.header = new Header();
    this.module1 = new Module('.module-page1', {
      categoryId: '1',
      icon: 'web-icon1',
      name: '侧弯',
      type: 'grid',
      page: Util.getParam('page', 1),
      pageSize: 9,
      url: 'page1.html',
      column: 3,
      pager: true
    });
  }
}

$(() => {
  new Page();
});